package com.wy.dao;

import com.wy.model.sys.SystemValues;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SystemValuesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SystemValues record);

    int insertSelective(SystemValues record);

    SystemValues selectByPrimaryKey(Integer id);

    SystemValues selectByNameAndType(SystemValues values);

    int updateByPrimaryKeySelective(SystemValues record);

    int updateByPrimaryKey(SystemValues record);

    List<SystemValues> listByType(@Param("type") String type,@Param("ext3") String ext3,@Param("residenceId")Integer residenceId);

    List<SystemValues> listAll();

    int delete(@Param("id")List<String> id);
}